package chainOfResponsibilityPattern;

public class Main {
    public static void main(String[] args) {
        ConcreteHandlerC handlerC = new ConcreteHandlerC(null);
        ConcreteHandlerB handlerB = new ConcreteHandlerB(handlerC);
        ConcreteHandlerA handlerA = new ConcreteHandlerA(handlerB);

        handlerA.handleRequest(1000.0);

    }
}
